package com.huatai.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huatai.user.entity.LinkInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface LinkInfoMapper extends BaseMapper<LinkInfo> {

	@Select("SELECT COUNT(*) FROM sys_client WHERE server_ip = #{serverIp};")
	Integer getMaxLinkValue(@Param(value = "serverIp") String serverIp);
}
